package com.kpmg.datalake.common.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * <p>
 * 权限管理_角色功能关联表
 * </p>
 *
 * @author azhao6
 * @since 2018-09-05
 */
public class PrvgRoleFcn implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 序号
   */
  @TableId(type = IdType.UUID)
  private String id;
  /**
   * 角色id
   */
  private String rlid;
  /**
   * 角色名称
   */
  private String rlnm;
  /**
   * 功能id
   */
  private String fcnid;
  /**
   * 功能名称
   */
  private String fcnnm;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getRlid() {
    return rlid;
  }

  public void setRlid(String rlid) {
    this.rlid = rlid;
  }

  public String getRlnm() {
    return rlnm;
  }

  public void setRlnm(String rlnm) {
    this.rlnm = rlnm;
  }

  public String getFcnid() {
    return fcnid;
  }

  public void setFcnid(String fcnid) {
    this.fcnid = fcnid;
  }

  public String getFcnnm() {
    return fcnnm;
  }

  public void setFcnnm(String fcnnm) {
    this.fcnnm = fcnnm;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }
}
